inherited FCadModeloEtapa: TFCadModeloEtapa
  Left = 815
  Top = 194
  Width = 796
  Height = 606
  Caption = 'Cadastro de etapas por modelo'
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 13
  object lbl1: TLabel [4]
    Left = 8
    Top = 120
    Width = 108
    Height = 13
    Caption = 'MODETPDESCRICAO'
    FocusControl = dbedt1
  end
  object lbl2: TLabel [5]
    Left = 8
    Top = 80
    Width = 57
    Height = 13
    Caption = 'MODETPID'
    FocusControl = dbedt2
  end
  object lbl3: TLabel [6]
    Left = 8
    Top = 40
    Width = 36
    Height = 13
    Caption = 'MODID'
    FocusControl = dbedt3
  end
  inherited BtCancelar: TBitBtn
    Left = 689
    Top = 531
  end
  inherited BtGravar: TBitBtn
    Left = 608
    Top = 530
  end
  inherited BtExcluir: TBitBtn
    Left = 699
  end
  object dbedt1: TDBEdit [10]
    Left = 8
    Top = 136
    Width = 761
    Height = 21
    DataField = 'MODETPDESCRICAO'
    DataSource = ds1
    TabOrder = 3
  end
  object dbedt2: TDBEdit [11]
    Left = 8
    Top = 96
    Width = 105
    Height = 21
    DataField = 'MODETPID'
    DataSource = ds1
    TabOrder = 4
  end
  object dbedt3: TDBEdit [12]
    Left = 8
    Top = 56
    Width = 105
    Height = 21
    DataField = 'MODID'
    DataSource = ds1
    ReadOnly = True
    TabOrder = 5
  end
  object Edit1: TEdit [13]
    Left = 115
    Top = 56
    Width = 654
    Height = 21
    ReadOnly = True
    TabOrder = 6
  end
  object dbgrdMODELOETAPAMATERIAL: TDBGrid [14]
    Left = 8
    Top = 192
    Width = 769
    Height = 337
    DataSource = dsMODELOETAPAMATERIAL
    Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
    TabOrder = 7
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    OnDblClick = dbgrdMODELOETAPAMATERIALDblClick
    OnKeyDown = dbgrdMODELOETAPAMATERIALKeyDown
    Columns = <
      item
        Expanded = False
        FieldName = 'IDMATERIAL'
        Title.Caption = 'C'#243'd. Material'
        Width = 75
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'MATDESCRICAO'
        Title.Caption = 'Descri'#231#227'o do Material'
        Width = 500
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'MODETPMATQUANTIDADE'
        Title.Caption = 'Quantidade'
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'MODETPID'
        Visible = False
      end
      item
        Expanded = False
        FieldName = 'MODID'
        Visible = False
      end>
  end
  object Ppnl12: TPanel [15]
    Left = 8
    Top = 172
    Width = 769
    Height = 17
    Anchors = [akLeft, akTop, akRight]
    Caption = 'Materiais'
    Color = clActiveCaption
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWhite
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 8
  end
  inherited qFilha: TQuery
    AfterScroll = qFilhaAfterScroll
    SQL.Strings = (
      'SELECT * FROM MODELOETAPA WHERE 1=-1')
    object qFilhaMODETPDESCRICAO: TStringField
      FieldName = 'MODETPDESCRICAO'
      Origin = '"BDSISTEMA.FDB".MODELOETAPA.MODETPDESCRICAO'
      Size = 100
    end
    object qFilhaMODETPID: TIntegerField
      FieldName = 'MODETPID'
      Origin = '"BDSISTEMA.FDB".MODELOETAPA.MODETPID'
    end
    object qFilhaMODID: TIntegerField
      FieldName = 'MODID'
      Origin = '"BDSISTEMA.FDB".MODELOETAPA.MODID'
    end
  end
  object ds1: TDataSource
    DataSet = qFilha
    Left = 136
    Top = 88
  end
  object dsMODELOETAPAMATERIAL: TDataSource
    DataSet = QMODELOETAPAMATERIAL
    Left = 248
    Top = 288
  end
  object QMODELOETAPAMATERIAL: TQuery
    DatabaseName = 'BDSistema.FDB'
    SQL.Strings = (
      
        'SELECT MEM.*, M.MATDESCRICAO FROM MODELOETAPAMATERIAL MEM, MATER' +
        'IAIS M'
      'WHERE '
      'M.IDMATERIAL= MEM.IDMATERIAL'
      'AND 1=-1')
    Left = 280
    Top = 288
    object QMODELOETAPAMATERIALMODETPMATQUANTIDADE: TFloatField
      FieldName = 'MODETPMATQUANTIDADE'
      Origin = '"BDSISTEMA.FDB".MODELOETAPAMATERIAL.MODETPMATQUANTIDADE'
    end
    object QMODELOETAPAMATERIALIDMATERIAL: TIntegerField
      FieldName = 'IDMATERIAL'
      Origin = '"BDSISTEMA.FDB".MODELOETAPAMATERIAL.IDMATERIAL'
    end
    object QMODELOETAPAMATERIALMODETPID: TIntegerField
      FieldName = 'MODETPID'
      Origin = '"BDSISTEMA.FDB".MODELOETAPAMATERIAL.MODETPID'
    end
    object QMODELOETAPAMATERIALMODID: TIntegerField
      FieldName = 'MODID'
      Origin = '"BDSISTEMA.FDB".MODELOETAPAMATERIAL.MODID'
    end
    object QMODELOETAPAMATERIALMATDESCRICAO: TStringField
      FieldName = 'MATDESCRICAO'
      Origin = '"BDSISTEMA.FDB".MATERIAIS.MATDESCRICAO'
      Size = 100
    end
  end
end
